#include<stdio.h>
double CancelFee(double price)
{
    double fee = price * 0.05;
    double m = (int)fee;
    if(fee-m < 0.25)
        fee = m;
    else if(fee - m < 0.75 && fee - m >= 0.25)
        fee = m + 0.5;
    else 
        fee = m + 1;
    return fee;
}
int main()
{
    
    return 0;
}